<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<script type="text/javascript">
function login()//로그인 창에 아무것도 적혀 있지 않으면 입력하라는 창이 나온다.
{
	var f=document.frm;
	if(f.id.value=="")
	{
	   alert("ID를 입력하세요");
	   f.id.focus();
	   return;
	}
	if(f.pwd.value==""){
		alert("Password를 입력하세요");
		f.pwd.focus();
		return;
	}
	f.submit();
}

</script>
</head>
<body>
	<form action="../login/login_ok.do" method="post" name="frm">
	<table cellpadding="1" border=0>
		<tr>
			<td>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" size="18" name=id style="font-size: 10px" value="${id }">
			</td>
		</tr>
		<tr>
			<td>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="password" size="18" name=pwd style="font-size: 10px">
			</td>
		</tr>
		<tr>
			<td>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:login()"><img src="../image/login/login.png" alt="로그인" border="0"></a>
				&nbsp;&nbsp;&nbsp;
				<s:a href="../login/joinCkJumin.jsp" targets="maincontents" theme="ajax"><img src="../image/login/join.png" alt="회원가입" border="0"></s:a>
			</td>
		</tr>
	</table>
	</form>
	 <s:property value="message"/>
</body>
</html>